﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace FlowBasis.Data
{
    public interface IDataService
    {
        IQueryable GetAll(Type objectType);
        IQueryable<T> GetAll<T>() where T : class;

        object Find(Type objectType, params object[] keyValues);
        T Find<T>(params object[] keyValues) where T : class;
    }
}
